package com.css.fxfzypg.modules.baseData.service;

import com.alibaba.fastjson.JSONObject;
import com.css.fxfzypg.modules.baseData.queryParams.HospitalQueryParams;
import com.css.fxfzypg.modules.baseData.entity.HospitalEntity;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * @author y1fan
 * @create 2022-08-19 10:13
 */
public interface HospitalService {


    HospitalEntity saveHospital(HospitalEntity hospitalEntity);

    HospitalEntity findHospitalById(Integer dataHospitalId);

    JSONObject getAllHospitalByParams(HospitalQueryParams queryParams);

    void deleteHospital(List<Integer> ids);

    void exportExcel(HttpServletResponse response)throws IOException;

    void importExcel(MultipartFile file)throws IOException;
}
